home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 1.iso / desktop / spyclip2.zip / TRACE95.H < prev    next >
C/C++ Source or Header  |  1995-05-12  |  897b  |  38 lines

  1. //trace95.h
  2. //----------
  3. //May 24, 1995
  4. //by JR Ellis
  5. //jrellis@ix.netcom.com
  6. //75711,566 compuserve
  7. //
  8. //what is it?
  9. //-----------
  10. //used by programmers while debugging
  11. //visual c++ code. It puts messages on
  12. //the second monochrome monitor while
  13. //built with debug. WinDebug used to
  14. //offer that option, but with vc2, has
  15. //stopped that.
  16. //
  17. //how to use?
  18. //------------
  19. //include header file: trace95.h
  20. //link to ojb file: trace.obj
  21. //in code insert statement:
  22. //   TRACE95(text);
  23. //     where text is any cstring,
  24. //     zero terminated string, or
  25. //     quoted string.
  26. //have SpyClip2 running with the
  27. //   install option checked, because
  28. //   trace95 copies to clipboard, and
  29. //   SpyClip2 copies Clipboard to
  30. //   second monitor.
  31. //
  32. #ifdef _DEBUG
  33. #define TRACE95(sz)              Trace95(sz)
  34. extern void Trace95(CString);
  35. #else
  36. #define TRACE95(sz)
  37. #endif
  38.